ForEach Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Performs the specified action on each item in this collection.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public virtual void ForEach(
	Action<T> action
)
Visual Basic (Declaration)
Public Overridable Sub ForEach ( _
	action As Action(Of T) _
)
Visual C++
public:
virtual void ForEach (
	Action<T>^ action
)

Parameters

action
Action<(Of <T>)>
An Action delegate which is invoked for each item in this collection.

See Also